package cn.wen.yaling.xo.dao;

import cn.wen.yaling.commons.entity.BlackListEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 
 * 
 * @author FY
 * @email 932043654@qq.com
 * @date 2022-08-13 02:07:36
 */
@Component
@Mapper
public interface BlackListDao extends BaseMapper<BlackListEntity> {

    /**
     * 修改黑名单状态
     * @param blackIds
     * @param status
     * @return
     */
    boolean updateStatusByIds(@Param("blackIds") List<Integer> blackIds,@Param("status") int status);
}
